package com.whty.activemq.recive;



/**
 * @author mario
 *   队列接受者 消费 --点对点
 */
//@Component
public class QueueReceiver {
	
//	   @JmsListener(destination = "queueTest", containerFactory = "jmsQueueListenerContainerFactory")
//	    public void receive(String msg) {
//	        System.out.println("queue1 监听到的消息内容为: " + msg);
//	    }
//
//	    @JmsListener(destination = "queueTest", containerFactory = "jmsQueueListenerContainerFactory")
//	    public void receive2(String msg) {
//	        System.out.println("queue2 监听到的消息内容为: " + msg);
//	    }


}
